	layui.use(['form','layer','laydate','table','laytpl'],function(){
	    var form = layui.form,
	        layer = parent.layer === undefined ? layui.layer : top.layer,
	        $ = layui.jquery,
	        laydate = layui.laydate,
	        laytpl = layui.laytpl,
	        table = layui.table;
		//列表数据
		var tableIns = 	table.render({
		        id : "listTable",
				elem : '#list',
				height :"full-125",
				toolbar: true,
				defaultToolbar: ['filter', 'print', 'exports'],
				url :ctxPath+ '/tSystemNotice/tSystemNoticeList' ,//数据接口
				page : true, //开启分页,
			        cols : [[
			            	{type: "checkbox", fixed:"left", width:50},
							{field: 'title', title: '标题', align:"center",hide:false},
							{field: 'orderNum', title: '排序', align:"center",hide:false},
							{field: 'createTime', title: '创建时间', align:"center",hide:false},
			            {title: '操作', width:170, fixed:"right",align:"center",templet:function(d){
			            var html="";
						html+='<a class="layui-btn layui-btn-xs boot-layer " boot-title="详情" boot-url="'+ctxPath+'/tSystemNotice/toTSystemNoticeDetail?id='+d.id+'">详情</a>';
						if($.shiro.hasPermission('/tSystemNotice/toTSystemNoticeUpdate')){
						html+='<a class="layui-btn layui-btn-xs boot-layer " boot-title="修改" boot-url="'+ctxPath+'/tSystemNotice/toTSystemNoticeUpdate?id='+d.id+'">编辑</a>';
						}
						if($.shiro.hasPermission('/tSystemNotice/tSystemNoticeBatchDel')){
						html+='<a class="layui-btn layui-btn-xs layui-btn-danger boot-ajax " boot-title="确认要删除吗" boot-url="'+ctxPath+'/tSystemNotice/tSystemNoticeDelete?id='+d.id+'"  >删除</a> ';
						}
		            	return html;
			            }}
			        ]]
			});
//==========================添加start==================


		});